package com.coin900.coin.persist.fu;

import com.coin900.coin.persist.FuVO;

/**
 * 充值提现确认
 *
 * @author shui
 * @create 2018-2-2
 */
public class FuCapitalTransactionVO extends FuVO {

    private String txid;

    /**
     * 类型 1充值 2提现 3确认中
     */
    private Integer type;

    private Integer isSuccess;

    /**
     * 确认数
     */
    private Integer confirmations;

    private String fromAddress;

    private String toAddress;

    /**
     * value 值使用对应币种的最小单位
     */
    private String value;

    /***** 非持久化数据 START *****/

    private Double verify;

    /***** 非持久化数据 END *****/

    public String getTxid() {
        return txid;
    }

    public void setTxid(String txid) {
        this.txid = txid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(Integer isSuccess) {
        this.isSuccess = isSuccess;
    }

    public Integer getConfirmations() {
        return confirmations;
    }

    public void setConfirmations(Integer confirmations) {
        this.confirmations = confirmations;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Double getVerify() {
        return verify;
    }

    public void setVerify(Double verify) {
        this.verify = verify;
    }

    @Override
    public String toString() {
        return super.toString() +
                "FuCapitalTransactionVO{" +
                "txid='" + txid + '\'' +
                ", type=" + type +
                ", isSuccess=" + isSuccess +
                ", confirmations=" + confirmations +
                ", fromAddress='" + fromAddress + '\'' +
                ", toAddress='" + toAddress + '\'' +
                ", value='" + value + '\'' +
                ", verify='" + verify + '\'' +
                '}';
    }
}